﻿using System;
using System.Collections.Generic;
using Foothill.Common;
using Foothill.Model;
using Foothill.Service.SystemMessage;

namespace Foothill.Service.AdService
{
    public interface IPostValidator
    {
        bool ValidateForSaleAd(ForSaleAd newAd, out IDictionary<PostForSaleFields, string> retDict);

        bool ValidateEmailAddress(string str);

        bool ValidatePrice(string priceString, out int convertedInt);

        bool IsNonNegativeNumber(string str, out int convertedInt32Number);
    }
}
